package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ShoppingTrolley;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingTrolleyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShoppingTrolley record);

    ShoppingTrolley selectByPrimaryKey(Long id);

    List<ShoppingTrolley> selectForList(QueryObject qo);


    List<ShoppingTrolley> selectShoppingsById(@Param("id") Long id, @Param("qo") QueryObject qo);

    void bathchDelete(Long[] ids);


}